home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 May: Tool Chest / Developer CD Series Tool Chest (Apple Computer)(May 1999).iso / What's New? / • What was new 03⁄99 / Tool Chest / Sample Code / Eject PC Cards Location Module / Sources / EjectPCCardModule.r < prev    next >
Encoding:
Text File  |  1998-12-22  |  1.9 KB  |  70 lines  |  [TEXT/CWIE]

  1. /*
  2.      File:        Sample.r
  3.  
  4.      Contains:    Location Manager SDK Sample Rez data...
  5.  
  6.      Version:    ALM SDK 2.0
  7.                  Package:    Location Manager SDK 2.0
  8.  
  9.      Copyright:    © 1996-1997 by Apple Computer, Inc.
  10.                  All rights reserved.
  11.  
  12.      Bugs?:        Please include the the file and version information (from above) with
  13.                  the problem description.  Developers belonging to one of the Apple
  14.                  developer programs can submit bug reports to:
  15.  
  16.                      devsupport@apple.com
  17.  
  18. */
  19.  
  20. #define        thng_RezTemplateVersion        1
  21. #define        DLOG_RezTemplateVersion        1
  22.  
  23. // ------------------------------------------------------------------------------------------------- 
  24.  
  25. // Module Include...
  26.  
  27. #include    "EjectPCCardModule.h"
  28.  
  29. // MacOS Includes...
  30.  
  31. #include    "Components.r"
  32. #include    "LocationManager.r"
  33.  
  34. // ------------------------------------------------------------------------------------------------- 
  35.  
  36. // Bring in the binary resource stuff...
  37.  
  38. include        "EjectPCCardModule.rsrc";
  39.  
  40. // ------------------------------------------------------------------------------------------------- 
  41.  
  42. // Information for the component manager -- ##### be sure to change the subtype!
  43.  
  44. resource 'thng' (128, "Eject PC Cards") {
  45.     kALMComponentType,
  46.     'EJCT',        // Component Subtype--must be unique (use your registered creator)!
  47.     'appl',        // Component Manufacturer--something descriptive (we use 'appl')
  48.     0x0,        // Flags (32 bits); could be kALMMultiplePerLocation and/or kALMDescriptionGetsStale
  49.     kAnyComponentFlagsMask,
  50.     kExecutableRsrcType, kExecutableRsrcID,
  51.     kNameRsrcType, kNameRsrcID,
  52.     kDescRsrcType, kDescRsrcID,
  53.     kIconRsrcType, kIconRsrcID,
  54.     0x0,    // Version
  55.     componentDoAutoVersion,
  56.     kIconRsrcID,
  57.     {}        // No platform info
  58. };
  59.  
  60. // Internationalization in an easy place for internationalizers to get at it...
  61.  
  62. resource kALMAltScriptManagerInfoRsrcType (kALMAltScriptManagerInfoRsrcID, "Script Info") {
  63.     kALMScriptInfoVersion,
  64.     smRoman,        // Script
  65.     verUS,            // Version
  66.     langEnglish,    // Language
  67.     10,                // Size
  68.     "Geneva"        // Font
  69. };
  70.